<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>递归</title>
	<script type="text/javascript">

	function run (x) {
		document.write(x+"<br>");
		x--;
		if(x==0){
			return;
		}
		run(x);
	}

	run(100);


	function run (100) {
		document.write(x+"<br>");
		100--;
		if(99==0){
			return;
		}
		run(99);
	}

	function run (99) {
		document.write(x+"<br>");
		99--;
		if(98==0){
			return;
		}
		run(98);
	}

	function run (97) {
		document.write(x+"<br>");
		99--;
		if(98==0){
			return;
		}
		run(98);
	}






	</script>
</head>
<body>
	
</body>
</html>